﻿<%@ Page Language="VB" MasterPageFile="~/Public/MasterPage.master" AutoEventWireup="false" EnableEventValidation="false"
    CodeFile="WorkHeader.aspx.vb" Inherits="WebForm_WorkHeader"  %>
<%@ Register Src="~/Public/WorkHeader/SearchWorkHeader.ascx" TagName="SearchWorkHeader" TagPrefix="My" %>
<%@ Register Src="~/WebForm/SelfManageWorkHeader/SelfAddWorkHeader.ascx" TagName="AddWorkHeader" TagPrefix="My" %>
<%@ Register Src="~/WebForm/ManageWorkHeader/HandleWorkHeader.ascx" TagName="HandleWorkHeader" TagPrefix="My" %>
<%@ Register Src="~/WebForm/UpdateProgress.ascx" TagName="UpdateProgress" TagPrefix="My" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdateProgress ID="progress1" runat="server">
        <ProgressTemplate>
            <my:UpdateProgress ID="myprogress1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <table width="100%" align="center">
        <tr>
            <td align="right">
                <asp:LinkButton ID="lknAdd" SkinID="linkbutton" runat="server" Font-Size="13pt" meta:resourcekey="lknAdd"></asp:LinkButton>
            </td>
        </tr>        
        <tr>
            <td align="right">
                <asp:HyperLink ID="hlinkCase" runat="server" Font-Size="Small" ForeColor="Blue" NavigateUrl="~/Public/Case.aspx"
                    Target="_blank">常見非環保機關受理案件</asp:HyperLink>
            </td>
        </tr>
        <tr>
            <td>
                <asp:UpdatePanel ID="up1" runat="server" UpdateMode="Conditional">
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="lknAdd" />
                    </Triggers>
                    <ContentTemplate>
<ajaxToolkit:TabContainer id="TabContainer1" runat="server" AutoPostBack="false" ActiveTabIndex="0">
                            <ajaxToolkit:TabPanel ID="AddTabPanel" runat="server" meta:resourcekey="AddTabPanel">
                                <ContentTemplate>
                                     <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
                                        <asp:View ID="vwAddWorkHeader" runat="server">
                                            <My:AddWorkHeader ID="AddWorkHeader1" runat="server" DataAccessMode="Insert" />
                                        </asp:View>
                                        <asp:View ID="vwHandleWorkHeader" runat="server">
                                            <My:HandleWorkHeader ID="HandleWorkHeader1" runat="server" DataAccessMode="Insert" />
                                        </asp:View>
                                    </asp:MultiView>
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                            <ajaxToolkit:TabPanel ID="SearchTabPanel" runat="server" meta:resourcekey="SearchTabPanel">
                                <ContentTemplate>
                                    <My:SearchWorkHeader ID="SearchWorkHeader1" runat="server" />
                                
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                        </ajaxToolkit:TabContainer> 
</ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
    </table>
</asp:Content>
